import { createWebHistory, createRouter } from 'vue-router'

const contantRoutes = [
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/home.vue'),
    },
    {
      path: '/about',
      name: 'about',
      component: () => import('@/views/about.vue'),
    }
  ]


  const router = createRouter({
    routes: [...contantRoutes],
    history: createWebHistory()
  })

  export default router

